package at.fhooe.mcm12.java.sensors.data;

import java.io.Serializable;

public abstract class SensorValue implements Serializable{
	protected long m_timestamp;
	protected String m_unit;
	
	public SensorValue(long _timestamp, String _unit)
	{
		m_timestamp = _timestamp;
		m_unit = _unit;
	}
	
	public long getTimestamp()
	{
		return m_timestamp;
	}
	
	public void setTimestamp(long _timestamp)
	{
		m_timestamp = _timestamp;
	}

	public String getUnit()
	{
		return m_unit;
	}
	
	public void setUnit(String _unit) {
		m_unit = _unit;
	}
}
